package org.future.task.redis.cluster;

import io.lettuce.core.RedisFuture;
import io.lettuce.core.api.async.RedisAsyncCommands;
import io.lettuce.core.cluster.api.async.RedisAdvancedClusterAsyncCommands;

/**
 * @author Dongwei-Chen
 * @Date 2023/12/13 13:35
 * @Description
 */
public abstract class AsyncClusterAbstract<K, V>   {

    public abstract RedisFuture<V> command(RedisAdvancedClusterAsyncCommands<String, String> async, K row);

    public abstract void future(K k, V v, Throwable throwable);
}
